home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Development / Source / GENetReleaseƒ / GEDemo / Sign.h < prev    next >
Text File  |  1994-01-19  |  785b  |  55 lines

  1. /*
  2.     Sign.h
  3.     
  4.     User-entered text for Graphic Elements demo
  5.     
  6.     Copyright 1993 by Al Evans. All rights reserved.
  7.     
  8.     11/11/93
  9.     
  10. */
  11.  
  12. #ifdef applec
  13. #ifndef __cplusplus
  14. #ifndef PRELOAD
  15. #pragma load "::ToolKit.precompile"
  16. #define PRELOAD
  17. #endif
  18. #endif
  19. #endif
  20.  
  21. #ifndef GRAPHELEMENTS
  22. #include "GraphElements.h"
  23. #endif
  24.  
  25. //Sign position
  26.  
  27. #define signLeft    300
  28. #define signTop        35
  29.  
  30. //Sign plane
  31.  
  32. #define signPlane    4
  33.  
  34. //Sign ID
  35. #define signID 'SIGN'
  36.  
  37. #ifdef __cplusplus
  38. extern "C" {
  39. #endif
  40.  
  41. Boolean LoadSignScene(GEWorldPtr world);
  42.  
  43. //Sign autochange proc
  44. pascal void DoSign(GEWorldPtr world, GrafElPtr sign);
  45.  
  46. //Get current sign text into oldText
  47. pascal void GetSignText(StringPtr oldText);
  48.  
  49. //Set sign text
  50. pascal void SetSignText(GEWorldPtr world, StringPtr newText);
  51.  
  52. #ifdef __cplusplus
  53. }
  54. #endif
  55.